package com.financial.sys.query;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@ApiModel(value = "用户充值", description = "用户充值记录查询")
@Data
public class UserRechargeQuery implements Serializable {

    public Integer getCurrentPage() {
        return currentPage;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        if(pageSize==null||pageSize==0){
            pageSize=10;
        }
        this.pageSize = pageSize;
    }

    public void setCurrentPage(Integer currentPage) {
        if(currentPage<=0){
            currentPage=1;
        }
        this.currentPage = currentPage;
    }

    @ApiModelProperty(value = "当前页面码数")
    private  Integer currentPage=1;

    @ApiModelProperty(value = "每页多少条,默认为10")
    private Integer pageSize=2;

    @ApiModelProperty (value = "开始日期")
    private String beginDate;

    @ApiModelProperty (value = "结束日期")
    private String endDate;

    @ApiModelProperty (value = "充值账户id")
    private String userId;

    @ApiModelProperty (value = "交易号")
    private String tradeNo;

    @ApiModelProperty (value = "审核状态( 0:审核拒绝  1:审核中  2:审核通过 )")
    private Integer state;
}
